Carbon


PBFlushVolAsync

Header: Files.h Carbon status: Supported

Writes the contents of the volume buffer and updates information about the volume.

OSErr PBFlushVolAsync (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

On the volume specified by ioNamePtr or ioVRefNum, the PBFlushVolAsync function writes descriptive information about the volume, the contents of the associated volume buffer, and all access path buffers for the volume (if they’ve changed since the last time PBFlushVolAsync was called).

The date and time of the last modification to the volume are set when the modification is made, not when the volume is flushed.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)